PROJECT(futabaagent)
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR}
					${CMAKE_SOURCE_DIR}/chanagents)

SET(futabaagent_sources
	futabaagent.cpp)

SET(futabaagent_headers
	futabaagent.h)

QT4_WRAP_CPP(futabaagent_moc ${futabaagent_headers})

ADD_LIBRARY(futabaagent MODULE ${futabaagent_sources} ${futabaagent_moc})
TARGET_LINK_LIBRARIES(futabaagent ${QT_LIBRARIES} ${spelling_libs} wm)
SET_TARGET_PROPERTIES(futabaagent PROPERTIES LIBRARY_OUTPUT_DIRECTORY ..)

INSTALL(TARGETS futabaagent LIBRARY DESTINATION ${LIBDIR}/plugins/chanagents)

